Adjusted gallery layout to better fit mobile