removed hardcoded width, set it to screen width

With iPhone 6 and 6+, the width needs to be set dynamically and not be hardcoded.