use proper case for global variables
improve layout CSS

Working towards better responsiveness.