fix selectedView scroll bug