Add support for auto-layout constraints

Following discussion in #22 I took the liberty to make some changes which fixes the issue where the frame of the scroll view would not get adjusted when the control's frame is managed through layout constraints.