added postpone function, added resizing to slider