proper determining need to sync
added onsizeChangedListener