removing unneeded code from SwipeView…trimming it
tidy up code formatting
Put alignment back in, as i'm using in carousel too