fix jquery for vote and photo animation