Flux confinement and dynamics in superconductor/ferromagnet hybrid nanosystems door