add resize bar

add to the main view