Added style sheet and a jQuery function to get the current state.