fixing head menu for gallery theme 1