added swipe forward function