Cleaned up the close button.

It was driving me crazy that it didn't look right in a mobile layout so I had to
fix it.. Also added selection color and moved all scripts to the body.