Refactored out script and styling. Added transitional backgrounds

To be deployed IMMEDIATELY!!