Gallery UI improvements for MODX 2.2.9