fix background resizing issue and tweaked styles