Resizable sidebar implementation (buggy, 15-7-2013)