Use custom javascript for swipes and tweak animations