added orientation option to enable pull up to refresh