fixing swiping on routes page