Add a closed, half opened and a opened state.
Remove hard coded size.