added support for collapse nav in tablets