added scroll to opened view, fixed drawing