gallery mobile adaptation