finally fixed positioning problem on the individal gallery views