updates scrolling to take into effect padding
adds better handling of repeat commands, dont add to history twice
adds google analytics tracking