modify sidenav gallery