swaped a magic number with a variable

originally used 480 as a hardcoded number for the width of the screen.
changed it to self.view.frame.size.width so that the width would depend
on the device moreso