Fixed header issue in gallery