Menu state is now preserved on rotation

Now menu stays open on rotation if it was opened and vice versa