cleaned up spacing
very buggy, got the panel working though