added swipe handler for homepage voting