restricting the background size