removed background function for mobile