Make view collapse when not focused. Close #4