improves performance on transitions
improves gallery
improves gallery responsiveness