Fixed some bugs to make the page more mobile-device friendly