Gallery not showing, despite creating code