Adapting timeline to mobile view.