gallery view issue fixed