updated javascript and css, added check for smaller screens, css looks better
further improvements for UI