improved styling. bug fixes.

Improved the styling for events pages. fixed bug with header, now the
tab should be selected according to the view.