Adding the frame to the view