logo and reg control hiding mechanism