toolbar fixes in gallery