change photo gallery based on device size