added time toggling
added listners for arrows and toggling