fixing flick logic and tests for web
fixng typo in the screensize method