navbar and dropdown api changes

also check parameters with schema, and added sample page