Fixed hover flash bug in Perspectives overview

- modified CSS
- cleaned up javascript to use jquery selectors