Fixed problem with modal auto scroll