Making sure the background image doesn't slide further than its boundaries in either direction