removed containing div from gallery prev and next, adjusted css