fix scroll bug in views