mobile gallery to pixels rather than percent