add active states to book menu