Fixed previous/next buttons in teacher view
Previous/next buttons are only shown when javascript is enabled
Removed import of deleted file