Set up new gulp build sequence
Fixed autoscrolling behaviour on state transitions.