fixed sliding menu. iterates through layouts and creates icons better.