changing size of sliding image