Emulates pull-to-refresh behaviour in android