removed fixed header bg and cleaned up code