validation sliding menu