Sample code for KeyboardManagement on UIView and UIScrollView