Fixing overflow on layers for mobile