added basic resize funtionality