Add padding to sliding image