[Ide] Fix sliding pad resizing