gallery view now works