start and shift content in detail gallery and fix for current grid page returning from detail view