Fixes a couple bugs for mobile.
Move sidebar styles to less, set vars.