Flux confinement and dynamics in superconductor/ferromagnet hybrid nanosystems by