Removing unnecessary javascript style hacks.

Switching to proper CSS3 with breakpoints.