moving grid css to everypagestyle