nii- got some slide panel code in there, needs refactoring though