cleaning out code for gallery so no need for JS