updated the gallery active squares to not wrap on mobile