added property that checks if resizeActionSheet should be shown
added checks before sheet is shown