removing 100% height for layer media on touch devices