Added basic resize stuff