Trying to fix screen flicker

Added some CSS code to try and stop screen flicker on page change.