Tightening things up

Just tightening positioning of elements on main page and making script
work on mobile.