adjusting timeline grid to mobile