when open dropdown only scroll as much as needed to make element visible