added observer for changing scrollview size