Responsive design for mobile

Added CSS3 media queries and a little javascript to provide an optimised layout for mobile. Has been tested on iOS, Android, Windows Phone, WebOS, BlackBerry 6.