JavaScript slides without pain