got rid of console.logs and tried to add a touchend gesture to the main panel