Fix hide and show toolbar