changing behaviour of resize functions