padding back and forth