add scrollbar and resize feature