Yes... you would probably want to create a second class and then update the class with javascript onclick.
The hover you could do with:
.container.subWrapper:hover {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: start;
margin-left: -200px;
width: 600px;
background-color: #fff;
box-shadow: rgba(0, 0, 0, .5) 0 7px 10px 1px;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-moz-box-pack: start;
justify-content: flex-start;
}

