work on gallery view page