Revert "adding resize options"

This reverts commit 8a3625bd5e3495205b17daa2eb7816a4b94011ae.