handling addition of steps
added scrolintoview, works better than viewport in this case (would have to change the viewport behavior in order to use it properly).