Miscellaneous improvements

Added EventListeners for mobile sidebar instead of using “onclick”.